package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.UserLike;
import com.tanhua.model.vo.LikeCountVo;
import com.tanhua.model.vo.PageResult;

import java.util.List;

public interface UserLikeApi {
    Boolean saveOrUpdate(Long likeUserId, Long userId, boolean isLike);

    PageResult<UserLike> together(Integer page, Integer pagesize, Long userId);

    PageResult<UserLike> findLikes(Integer page, Integer pagesize, Long userId);

    PageResult<UserLike> findFans(Integer page, Integer pagesize, Long userId);

    LikeCountVo findCount(Long userId);
}
